/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unc.pds.model;

import java.rmi.RemoteException;
import unc.pds.exc.RDBSecurityException;

/**
 *
 * @author AIN
 */
public interface SecModel {
    public void canIWrite(Long key) throws RDBSecurityException, RemoteException;
    public void canIRead(Long key) throws RDBSecurityException, RemoteException;
    public void canICreate(String type) throws RDBSecurityException, RemoteException;
    public void canIDelete(Long key) throws RDBSecurityException, RemoteException;

}
